package impl

import (
	"github.com/shopspring/decimal"
	"shopstar/models/goods"
	"shopstar/util"
)

type SkuService interface {
	CateList(goodsId int64) [][]goods.AttributeDetail
	Add(goodsId int64, title, properties string, price decimal.Decimal, stock int) error
	Skus(goodsId int64) (sku []goods.GoodsSku)
	SkuAttrCollection(goodsId int64, skuProperties string) map[int64]*util.GraphAttr
}
